<template>
  <wd-button class="cusWdButton" :style="customStyle" :bind="$attrs"><slot /></wd-button>
</template>
<script lang="ts" setup name="cus-wd-button">
const app = getCurrentInstance()
const customStyle = computed(() => {
  const { color } = app.attrs
  return {
    // backgroundColor: color,
  }
})
</script>
<style scoped lang="scss"></style>
